package com.zhoug.demo.player;

import android.os.Bundle;
import android.widget.Button;

import com.zhoug.demo.player.play.ExoActivity;
import com.zhoug.demo.player.play.VlcActivity;
import com.zhoug.demo.templete.R;

import androidx.media3.common.util.UnstableApi;

/**
 * @author: zhoug
 * @since: 2025-06-26
 */
@UnstableApi public class MainActivity extends MyBaseActivity{
    private Button mBtnExo;
    private Button mBtnVlc;

    @Override
    protected int getLayoutResId() {
        return R.layout.activity_main;
    }

    @Override
    protected void findViews() {

        mBtnExo = findViewById(R.id.btn_exo);
        mBtnVlc = findViewById(R.id.btn_vlc);
    }

    @Override
    protected void onCreate1(Bundle savedInstanceState) {
        mBtnExo.setOnClickListener(v->{
            startActivity(ExoActivity.class);
        });

        mBtnVlc.setOnClickListener(v->{
            startActivity(VlcActivity.class);
        });

    }



}
